package cn.gzjp.modules.gas.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.gzjp.common.persistence.Page;
import cn.gzjp.common.service.CrudService;
import cn.gzjp.modules.gas.entity.GasCar;
import cn.gzjp.modules.gas.dao.GasCarDao;

/**
 * 会员车牌Service
 * @author zengcp
 * @version 2018-03-11
 */
@Service
@Transactional(readOnly = true)
public class GasCarService extends CrudService<GasCarDao, GasCar> {

	public GasCar get(String id) {
		return super.get(id);
	}
	
	public List<GasCar> findList(GasCar gasCar) {
		return super.findList(gasCar);
	}
	
	public Page<GasCar> findPage(Page<GasCar> page, GasCar gasCar) {
		return super.findPage(page, gasCar);
	}
	
	@Transactional(readOnly = false)
	public void save(GasCar gasCar) {
		super.save(gasCar);
	}
	
	@Transactional(readOnly = false)
	public void delete(GasCar gasCar) {
		super.deleteByLogic(gasCar);
	}
	
}